//
//  UIImage+Style.h
//  ZhaoCaiMao
//
//  Created by xieyingze on 2017/3/13.
//  Copyright © 2017年 谢英泽. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Style)

#pragma mark - Blur高斯模糊

+ (UIImage *)imageWithCoreBlurImage:(UIImage *)image withBlurNumber:(CGFloat)blur;

+ (UIImage *)imageWithBoxblurImage:(UIImage *)image withBlurNumber:(CGFloat)blur;

#pragma mark - 根据颜色值生成图片
/**
 *  将颜色转换成图片
 *
 *  @param color 颜色
 *
 *  @return 图片
 */
+ (UIImage*)imageWithColor:(UIColor*)color;

#pragma mark - 圆角处理

- (UIImage *)imageWithDealImage:(UIImage *)image cornerRadius:(CGFloat)cornerRadius;

#pragma mark - 根据银行卡名称获取图片

+ (UIImage *)imageWithBankName:(NSString *)bankName;

@end
